목차
메모
도메인 코드에 다른 내용이 섞여 들어가지 않도록 하기:
“
Using classes this way in model code is a bit smelly. We would like to use a criterion that makes sense in the domain of finance, not in the domain of Java objects. —Chapter 7
See also
목차 관련 글 Test and type-driven development “테스트 주도 개발의 결과로 얻어진 단위 테스트들은 문서 역할을 하기도 한다.” TDD 주기의 보폭 이 글을 인용: “There is no right step size, now and forever. --Chapter 9, Test-driven development: by example” TDD 주기 “Think about how you would like the operation in your mind to appear in your code.” Type-driven development “The name "type-driven development" suggests an analogy to test-driven development.” 삼각측량 (TDD) “테스트 주도 개발에서 빠르게 녹색 막대를 보기 위해 쓸 수 있는 세 가지 전략 중 하나.” 애자일 디자인에 대한 일반적 오해들 이 글을 인용: “Test-driven development: by example에서 "짧은 보폭"을 보여준 이유는 그 보폭이 모범적이기 때문이 아니라, 가장 짧은 보폭에 익숙해져야 보폭을 다양하게 조절할 수 있기 때…” 차이를 제거하기 이 글을 인용: “If we make them precisely the same, then we can delete the implementation in without changing the meaning of th…” Mocks aren't stubs 관련 절: Test double의 다양한 종류 코드 중복 이 글을 인용: “Duplication is always a bad thing, unless you look at it as motivation to find the missing design element. --Ch…” 변화 격리 이 글을 참조 Model-driven testing 관련 절: Executive Summary Never interrupt an interruption 이 글을 인용: “The answer in my practice is that I will entertain a brief interruption, but only a brief one, and I will never…” Framework for integrated test “MS-Word로 요구사항(인수 테스트 문서)을 작성하는데, 문서 중간에 표 형태로 예시를 넣어주면 이게 실행되어 현재 개발 중인 소프트웨어가 명세에 맞는지 쉽게 확인할 수 있는 방식이다.” Characterization test “A characterization test is a test that characterizes the actual behavior of a piece of code.” Set-based development 관련 절: [[Lean software development]] Dependency inversion principle “리팩토링을 일반화한 다른 프랙티스를 통해 단위 테스트를 하기 용이한 코드를 얻어내는 것.” 과정에 담긴 가치 “테스트 주도 개발: 자동화된 단위 테스트는 부산물이고 사실은 TDD 주기를 반복하는 과정에 더 큰 가치가 있다.” 에이전트 기반 코딩 실험 1 “구현 에이전트 - Coder: 을 참고하여 테스트 주도 개발 방식으로 한 번에 하나의 TODO 아이템을 구현한다.” Test set “For instance, a single example shouldn't belong to both the training set and the test set.” 과정에 담긴 지식 이 글을 인용: “켄트 벡의 Test-driven development: by example: 테스트 주도 개발의 과정을 옆에서 지켜보듯 생생하게 기록한 책.”